/**
 *
 * Created by Administrator on 2017/9/21 0021.
 */
import Urls from '../ApiUrls';
import Vue from 'vue'
import ApiBase from './ApiBase';

class ApiClassification {
  getClassificationList(parms) {
    return ApiBase.send(Urls.URL_CLASSIFICATION,parms);
  }
  addEditClassification(params){
    return ApiBase.send(Urls.URL_CLASSIFICATION_ADD,params);
  }
  deleteClassification(params){
    return ApiBase.send(Urls.URL_CLASSIFICATION_DELETE,params);
  }
  allClassification(params){
    return ApiBase.send(Urls.URL_CLASSIFICATION_ALL,params);
  }
  sortClassification(parms) {
    return ApiBase.send(Urls.URL_SEQUENCE_CLASSIFICATIONS, parms);
  }
  moveClassifications(parms) {
    return ApiBase.send(Urls.URL_MOVE_CLASSIFICATIONS, parms);
  }
  getClassification(parms) {
    return ApiBase.send(Urls.URL_GET_CLASSIFICATION_DETAIL, parms);
  }
  queryParentShowrooms(params) {
    return ApiBase.send(Urls.URL_CLASSIFICATION_PARENT_SHOWROOMS, params);
  }
  queryChildShowrooms(params) {
    return ApiBase.send(Urls.URL_CLASSIFICATION_CHILD_SHOWROOMS, params);
  }
}

export  default  ApiClassification
